Package-level declarations

Types

Link copied to clipboard

Closest Pair algorithm using the Divide and Conquer approach.

Link copied to clipboard

Closest Pair algorithm using the Divide and Conquer approach. This implementation sorts the points by x and y coordinates and recursively finds the closest pair.

Link copied to clipboard
interface IClosestPair<V : Vector<V>> : IAlgorithm<Result<V>>

Interface for closest pair algorithms.

Link copied to clipboard
class Result<V : Vector<V>>(val distance: Double, val result: Pair<V, V>)

Represents the result of the closest pair algorithm.